namespace MAY.CHANEL.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Teacher")]
    public partial class Teacher
    {
        [Key]
        public int TeaId { get; set; }

        public int? ClassId { get; set; }

        [Required]
        [StringLength(10)]
        public string TeaName { get; set; }

        public int TeaAge { get; set; }

        public bool TeaSex { get; set; }

        public virtual Class Class { get; set; }
    }
}
